package com.sure.supermarketserver.stock.purchase;


import java.util.List;
import java.util.Map;

public interface PurchaseService {
    //查询
    Map<String, Object> getPurchaseList(PurchaseDto dto);

    //增加
    void addPurchase(PurchaseDto dto);

    //修改
    void updatePurchase(PurchaseDto dto);

    //删除
    void deletePurchase(Integer id);

    //实现供应商下拉框
    List<SupplierName> findSupplierList();

    //实现货物名称下拉框
    List<CargoName> findCargoList();
}
